const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6ImFmZWIyMDRlN2ZiMDc1YzcwMTdmYjEwMmZiMDAwNWYzIiwidXNlcl9uYW1lIjoiMTU3MDA1MjE3NDYiLCJzY29wZSI6WyJyZWFkIl0sIm1vYmlsZSI6ZmFsc2UsImlzQWRtaW4iOnRydWUsImV4cCI6MTcxNTI0Nzk3NSwiaXNBcHBBZG1pbiI6ZmFsc2UsImF1dGhvcml0aWVzIjpbIlVTRVIiLCJBVVRIX1NZU1RFTV9NQU5BR0UiXSwianRpIjoiM2YzZjBjMzgtNWU2Zi00M2VjLTgyMmItNGVmMGE3ZjExMDc3IiwiY2xpZW50X2lkIjoiYXBpIn0.atEIf-x7RrInkOdLixuXV8DGJ8E3nDPagWDaW7T07qQ3PDAjnYsiyVvX8cuh4cq_lMMOqbmwfqlCHzKbfD1ChBWcMJ3m2Pv8pDK_ViQgT00IGF3s_XoR9Mr8k2TEeEeNDSeUf0ea17Vz3zowko9cpcpUupegct_p8s7pjHMbTHw'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
